package com.thinkgem.jeesite.modules.cms.entity;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.DateUtils;
import java.util.Date;

public class Record_task
  extends DataEntity<Record_task>
{
  private static final long serialVersionUID = 1L;
  private String id;
  private String keyfield;
  private String type;
  private String userid;
  private Date date;
  private Date time;
  private String description;
  private String dateStr;
  private String description2;
  
  
  public String getType()
  {
    return this.type;
  }
  
  public void setType(String type)
  {
    this.type = type;
  }
  
  public String getUserid()
  {
    return this.userid;
  }
  
  public void setUserid(String userid)
  {
    this.userid = userid;
  }
  
  public Date getDate()
  {
    return this.date;
  }
  
  public void setDate(Date date)
  {
    this.date = date;
  }
  
  public Date getTime()
  {
    return this.time;
  }
  
  public String getDateStr()
  {
    if (this.date != null) {
      return DateUtils.formatDate(this.date, new Object[] { "yyyy-MM-dd" }) + "  " + DateUtils.formatDate(this.time, new Object[] { "HH:mm:ss" });
    }
    return "";
  }
  
  public void setTime(Date time)
  {
    this.time = time;
  }
  
  public String getDescription()
  {
    return this.description;
  }
  
  public void setDescription(String description)
  {
    this.description = description;
  }
  
  public String getId()
  {
    return this.id;
  }
  
  public void setId(String id)
  {
    this.id = id;
  }
  
  public String getKeyfield()
  {
    return this.keyfield;
  }
  
  public void setKeyfield(String keyfield)
  {
    this.keyfield = keyfield;
  }
  
  public static long getSerialversionuid()
  {
    return 1L;
  }

	public String getDescription2() {
		return description2;
	}
	
	public void setDescription2(String description2) {
		this.description2 = description2;
	}
  
}
